package com.example.demo.service;

import com.example.demo.entity.Student;
import com.github.pagehelper.PageInfo;

public interface StudentService {

    //Object listAll();

    Object searchByName(String keyword);

    Student getById(Integer id);

    int insert(Student student);

    int update(Student student);

    int delete(Integer id);

    PageInfo<Student> listByPage(int pageNum, int pageSize, String keyword);
}
